package com.isdepci.project.carbon.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 热力排放对象 b_heat_emission
 *
 * @author isdepci
 * @date 2025-03-29
 */
public class BHeatEmission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目代码 */
    //@Excel(name = "项目代码")
    private Long projectId;

    /** 名称 */
    @Excel(name = "名称")
    private String iname;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 购入热量 */
    @Excel(name = "购入热量")
    private BigDecimal buyHeat;

    /** 热力排放因子 */
    @Excel(name = "热力排放因子")
    private BigDecimal heatEmissionFactor;

    /** 是否热量单位(1是、2否) */
    @Excel(name = "是否热量单位(1是、2否)")
    private Integer isHeat;

    /** 类型 */
    @Excel(name = "类型")
    private Integer unitType;

    /** 热水质量 */
    @Excel(name = "热水质量")
    private BigDecimal waterMass;

    /** 热水温度 */
    @Excel(name = "热水温度")
    private BigDecimal waterTemperature;


    /** 蒸汽类型(1饱和蒸汽  2过热蒸汽) */
    @Excel(name = "蒸汽类型")
    private Integer steamType;

    /** 蒸汽质量 */
    @Excel(name = "蒸汽质量")
    private BigDecimal steamMass;

    /** 蒸汽温度 */
    @Excel(name = "蒸汽温度")
    private BigDecimal steamTemperature;


    /** 蒸汽压力 */
    @Excel(name = "蒸汽压力")
    private BigDecimal steamPressure;


    /** 热焓值 */
    @Excel(name = "热焓值")
    private BigDecimal enthalpy;

    /** 碳排放量 */
    //@Excel(name = "碳排放量")
    private BigDecimal carbonEmissions;

    /** 附件地址 */
    //@Excel(name = "附件地址")
    private String accessoryUrl;

    /** 附件名称 */
    //@Excel(name = "附件名称")
    private String accessoryName;

    public String getAccessoryName() {
        return accessoryName;
    }

    public void setAccessoryName(String accessoryName) {
        this.accessoryName = accessoryName;
    }

    public String getAccessoryUrl() {
        return accessoryUrl;
    }

    public void setAccessoryUrl(String accessoryUrl) {
        this.accessoryUrl = accessoryUrl;
    }

    public BigDecimal getCarbonEmissions() {
        return carbonEmissions;
    }

    public void setCarbonEmissions(BigDecimal carbonEmissions) {
        this.carbonEmissions = carbonEmissions;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public void setBuyHeat(BigDecimal buyHeat)
    {
        this.buyHeat = buyHeat;
    }

    public BigDecimal getBuyHeat()
    {
        return buyHeat;
    }
    public void setHeatEmissionFactor(BigDecimal heatEmissionFactor)
    {
        this.heatEmissionFactor = heatEmissionFactor;
    }

    public BigDecimal getHeatEmissionFactor()
    {
        return heatEmissionFactor;
    }
    public void setIsHeat(Integer isHeat)
    {
        this.isHeat = isHeat;
    }

    public Integer getIsHeat()
    {
        return isHeat;
    }
    public void setUnitType(Integer unitType)
    {
        this.unitType = unitType;
    }

    public Integer getUnitType()
    {
        return unitType;
    }
    public void setWaterMass(BigDecimal waterMass)
    {
        this.waterMass = waterMass;
    }

    public BigDecimal getWaterMass()
    {
        return waterMass;
    }
    public void setWaterTemperature(BigDecimal waterTemperature)
    {
        this.waterTemperature = waterTemperature;
    }

    public BigDecimal getWaterTemperature()
    {
        return waterTemperature;
    }
    public void setSteamMass(BigDecimal steamMass)
    {
        this.steamMass = steamMass;
    }

    public BigDecimal getSteamMass()
    {
        return steamMass;
    }
    public void setSteamTemperature(BigDecimal steamTemperature)
    {
        this.steamTemperature = steamTemperature;
    }

    public BigDecimal getSteamTemperature()
    {
        return steamTemperature;
    }

    public Integer getSteamType() {
        return steamType;
    }

    public void setSteamType(Integer steamType) {
        this.steamType = steamType;
    }

    public BigDecimal getSteamPressure() {
        return steamPressure;
    }

    public void setSteamPressure(BigDecimal steamPressure) {
        this.steamPressure = steamPressure;
    }

    public BigDecimal getEnthalpy() {
        return enthalpy;
    }

    public void setEnthalpy(BigDecimal enthalpy) {
        this.enthalpy = enthalpy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("buyHeat", getBuyHeat())
            .append("heatEmissionFactor", getHeatEmissionFactor())
            .append("isHeat", getIsHeat())
            .append("unitType", getUnitType())
            .append("waterMass", getWaterMass())
            .append("waterTemperature", getWaterTemperature())
            .append("steamMass", getSteamMass())
            .append("steamTemperature", getSteamTemperature())
            .toString();
    }
}
